﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Xource.Helper;

namespace DemoWebSite.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }
        [HttpPost]
        public void ChangeLanguage(int LCID)
        {
            XourceHandler.SetLanguage(new CultureInfo(LCID));
        }
    }
}